package com.soulless.demo.staticproxy;

/**
 * @author zenglei
 * @Description 功能描述
 * @date 2022/11/22 10:52
 */
public class ZhangLaoSan implements IPerson {

    private Zhangsan zhangsan;

    public ZhangLaoSan(Zhangsan zhangsan) {
        this.zhangsan = zhangsan;
    }

    public void findLove() {
        System.out.println("张老三开始物色");
        zhangsan.findLove();
        System.out.println("开始交往");
    }
}
